from django.urls import path, include
from rest_framework import routers
from apps.common.wx.views import WxViewSet
from apps.common.uploadFile.viewOfoss import FileViewOfOssSet
from apps.common.third.views import ThirdViewSet
from apps.common.ali.sendSms.views import ValidateCodeViewSet
from apps.common.script.views import ScriptViewSet
from apps.common.largeData.views import LargeDataViewSet

router = routers.DefaultRouter()
router.register('script', ScriptViewSet, basename='script')
router.register('wx', WxViewSet, basename='wx')
router.register('oss', FileViewOfOssSet, basename='oss')
router.register('third', ThirdViewSet, basename='third')
router.register('ali/validateCode', ValidateCodeViewSet, basename='validateCode')
router.register('largeData', LargeDataViewSet, basename='largeData')


urlpatterns = [
    path('common/', include(router.urls)),
]
